package com.project.util;


import com.project.dto.SupplierDto;

public class SupplierThreadLocal {
    private static final ThreadLocal<SupplierDto> tl = new ThreadLocal<>();
    public static void saveSupplier(SupplierDto supplier){
        tl.set(supplier);
    }
    public static SupplierDto getSupplier(){
        return tl.get();
    }
    public static void removeSupplier(){
        tl.remove();
    }

}
